package com.business.bean.record;

import java.util.Date;

import lombok.Getter;
import lombok.Setter;
import net.sf.rose.jdbc.bean.ModelBean;
import net.sf.rose.jdbc.bean.annotation.Column;
import net.sf.rose.jdbc.bean.annotation.Table;
import net.sf.rose.jdbc.bean.annotation.Type;
import net.sf.rose.jdbc.bean.annotation.View;

/**
 * @author fengjian E-mail: 9110530@qq.com
 * @version 创建时间：2019年9月21日
 */
@Setter
@Getter
@Table(name = "REC_CONTRACT", description = "合同记录表")
@View(name = "REC_CONTRACT_VIEW", description = "合同记录视图")
public class ContractRecord extends ModelBean {

	@Column(pk = true, type = Type.定长文本, description = "记录编号", canNull = false, size = 32, policy = "UUID")
	private String recordID = null;

	@Column(type = Type.定长文本, description = "用户编号", size = 32)
	private String userID = null;

	@Column(type = Type.变长文本, description = "员工姓名", size = 50)
	private transient String userName = null;

	@Column(type = Type.变长文本, description = "合同编号", size = 30)
	private String contractNo = null;

	@Column(type = Type.变长文本, description = "合同名称", size = 30)
	private String contractName = null;

	@Column(type = Type.变长文本, description = "说明", size = 250)
    private String description = null;

	@Column(type = Type.日期时间, description = "签订日期")
	private Date signTime = null;

	@Column(type = Type.日期时间, description = "有效截止日期")
	private Date outTime = null;
}
